import request from "@/utils/request"

export function queryPageMajordomo(data) {
  return request({
    url: "/CHousekeeperCommissionRule/queryPage",
    method: "POST",
    data: data
  })
}

export function queryOneMajordomo(data) {
  return request({
    url: "/CHousekeeperCommissionRule/queryOne",
    method: "GET",
    params: data
  })
}

export function insertMajordomo(data) {
  return request({
    url: "/CHousekeeperCommissionRule/insertByBetweenDate",
    method: "POST",
    data: data
  })
}

export function updateMajordomo(data) {
  return request({
    url: "/CHousekeeperCommissionRule/update",
    method: "POST",
    data: data
  })
}
export function deleteMajordomo(data) {
  return request({
    url: "/CHousekeeperCommissionRule/delete",
    method: "POST",
    data: data
  })
}
